<?php
/**
 * @author Erling Owe <erling.owe@gmail.com>
 * @version 0.9
 * @package Core 
 */  
  
class Core_Loader {
   
    /**
     * Loads a class from the Core API.
     *
     * @param string $strClassName
     */
    public static function loadClass( $strClassName ) {

        if ( $strClassName == "Core" ) {

            $strURI = "Core/Core.php";

        } else {

            $strURI = str_replace( "_", "/", $strClassName . ".php" );

        }

        require_once $strURI;

    }
   
}

?>
